/*
 * TopbarConstantPool.java
 * classes : com.house365.cdecoration.interfaces.TopbarConstantPool
 * @author ruint
 * V 1.0.0
 * Create at 2014-11-13 上午9:58:43
 */
package com.ruint.master.view;

import java.util.HashMap;
import java.util.Map;

import android.widget.ImageView;

import com.ruint.master.R;

/**
 * com.house365.cdecoration.interfaces.TopbarConstantPool
 * 
 * @author ruint <br/>
 *         create at 2014-11-13 上午9:58:43
 */
public interface TopbarConstantPool {
  public static final String TOPBAR_BUTTON_SUBMIT = "提交";
  public static final String TOPBAR_BUTTON_CREATE_DIARY = "写日记";
  public static final String TOPBAR_BUTTON_COLLECT = "收藏";
  public static final String TOPBAR_BUTTON_COLLECTED = "已收藏";
  public static final String TOPBAR_BUTTON_SCREEN = "筛选";
  public static final String TOPBAR_BUTTON_SEARCH = "搜索";
  public static final String TOPBAR_BUTTON_HELP = "帮助";
  public static final String TOPBAR_BUTTON_ILLUSTATE = "说明";
  public static final String TOPBAR_BUTTON_MORE = "更多";
  public static final String TOPBAR_BUTTON_SAVE = "保存";
  public static final String TOPBAR_BUTTON_CONCERN = "关注";
  public static final String TOPBAR_BUTTON_UNCONCERN = "取消关注";

  public static final int TOPBAR_BUTTON_SUBMIT_ID = R.drawable.topbar_tijiao;
  public static final int TOPBAR_BUTTON_CREATE_DIARY_ID = R.drawable.topbar_xieriji;
  public static final int TOPBAR_BUTTON_COLLECTED_ID = R.drawable.topbar_yishoucang;
  public static final int TOPBAR_BUTTON_COLLECT_ID = R.drawable.topbar_weishoucang;
  public static final int TOPBAR_BUTTON_SCREEN_ID = R.drawable.topbar_shaixuan;
  public static final int TOPBAR_BUTTON_SEARCH_ID = R.drawable.topbar_search;
  public static final int TOPBAR_BUTTON_HELP_ID = R.drawable.topbar_shuoming_bangzhu;
  public static final int TOPBAR_BUTTON_ILLUSTATE_ID = R.drawable.topbar_shuoming_bangzhu;
  public static final int TOPBAR_BUTTON_MORE_ID = R.drawable.topbar_gengduo;
  public static final int TOPBAR_BUTTON_SAVE_ID = R.drawable.topbar_baocun;
  public static final int TOPBAR_BUTTON_CONCERN_ID = R.drawable.topbar_guanzhu;
  public static final int TOPBAR_BUTTON_UNCONCERN_ID = R.drawable.topbar_guanzhu_1;

  public Map<String, Integer> correspondecneMap = new HashMap<String, Integer>();;

  public Map<String, Integer> makeCorrespondenceMap();

  public void fetchRightBtn(ImageView view, String text);

  public <T extends Topbar> T setRightButton(String text);

  public <T extends Topbar> T setRightButton(int resId);

}
